package common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import common.model.po.base.BasePo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 业务编码
 *
 * @author 米泽鹏
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("sys_business_code")
public class SysBusinessCode extends BasePo<SysBusinessCode> {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "业务编码")
	private String codeType;

	@ApiModelProperty(value = "业务编码名称")
	private String codeTypeName;

	@ApiModelProperty(value = "是否启用")
	private Integer valid;

	@Override
	public Serializable pkVal() {
		return super.getId();
	}

}
